package com.shbatitstwo.core;

import java.io.InputStream;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description: 工具类，完整类路径中资源加载
 */
public class Resources {

    private Resources() {
    }

    // 指向资源文件的输入流
    public static InputStream getResourceAsStream(String resourcePath) {
        return ClassLoader.getSystemClassLoader().getResourceAsStream(resourcePath);
    }


}

